projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3908719
)
Further simplify which-key--pseudo-key
author
Justin Burkett
<justin@burkett.cc>
Wed, 16 Dec 2020 17:20:14 +0000
(12:20 -0500)
committer
Justin Burkett
<justin@burkett.cc>
Wed, 16 Dec 2020 17:20:14 +0000
(12:20 -0500)
which-key.el
patch
|
blob
|
history
diff --git
a/which-key.el
b/which-key.el
index b2635ea6ad9fe91026e7ee2fbd77b131eae693d7..ba3efe3e8a3cb0e2a85cf665e79a7adfa62f3d36 100644
(file)
--- a/
which-key.el
+++ b/
which-key.el
@@
-1596,7
+1596,7
@@
which are strings. KEY is of the form produced by `key-binding'."
"Replace the last key in the sequence KEY by a special symbol
in order for which-key to allow looking up a description for the key."
(let ((seq (listify-key-sequence key)))
- (vconcat (or prefix (butlast seq))
(vector 'which-key (last seq)
))))
+ (vconcat (or prefix (butlast seq))
[which-key] (last seq
))))
(defun which-key--maybe-get-prefix-title (keys)
"KEYS is a string produced by `key-description'.